home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS24.ADF / CodeDemo / CodeDemo.DOC < prev    next >
Text File  |  1988-04-16  |  1KB  |  32 lines

  1.  
  2.   This ARC file should contain the following files:
  3.  
  4.     1. AsmToCode---- Executable program to convert Assembler object files
  5.                      to Modula-2 CODE statements.
  6.     2. CodeDemo----- The executable program demonstrating a Modula-2
  7.                      program containing a lengthy Assembler routine.
  8.     3. CodeDemo.mod- Modula2 Source code for the CodeDemo program.
  9.     4. Scroll.asm--- THe Assembler source for the routine used as a
  10.                      CODE statement in the Modula2 program "CodeDemo".
  11.     5. Scroll.o----- The object file assembled from Scroll.asm.
  12.     6. Scroll.cnv--- The converted object file. (Converted to a 
  13.                      Modula2 CODE statement.
  14.  
  15.   This ARC file was created to demonstrate a convenient method to
  16.   include Assembly routines in Modula-2 CODE statements. A Modula-2
  17.   Assembly linker would be a lot more convenient, but I haven't
  18.   been able to find one.
  19.  
  20.   Procedure used:
  21.     
  22.     1. Wrote Scroll.asm using ED (any text editor will do).
  23.     2. Assembled Scroll.asm to get Scroll.o.
  24.     3. Used AsmToCode to convert Scroll.o to Scroll.cnv.
  25.     4. Wrote CodeDemo.mod using ED (any text editor will do).
  26.     5. Pasted Scroll.cnv in at the appropriate location in CodeDemo.mod.
  27.     6. Compiled CodeDemo.mod to get CodeDemo.lnk.
  28.     7. Linked CodeDemo.lnk to get CodeDemo.
  29.  
  30.   Hope you find this usefull.
  31.  
  32.